package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.pojo.Product;

public interface TaoBaoService {
    void add(Product product);

    Product getById(Long skuId);


    PageInfo<Product> pageInfo(Integer pageNum, Integer pageSize, String skuName, String priceUp, String priceDown, String classId, String brandName);

    void deleteById(Long skuId);

    void update(Product product);
}
